<?php 
$list_view_deal = new Pod('deal');
$list_view_deal->findRecords('id DESC', 15, "t.camp_end >= ".fix_date()." && t.coupon=1 && t.sale=0");
$city_name = get_city();
?>
<h1  id="f_margin">Coupons in India</h1>
<?php buzzr_fb_like(); ?>
<div class="clear"></div>
<div class="filter">
	<div class="views">
	  	<a class="grid g-button">Grid View</a>
	  	<a class="list g-button">List View</a>
	</div>
	
	<div class="sort">
		<a class="g-button" href="<?php echo BUZZR_URL.'/coupons/'.$city_name; ?>">Retail Coupons</a>
	</div>
	<div class="clear"></div>
</div>

<div id="list_wrap">
<ul class="list">
<?php
echo $list_view_deal->showTemplate('list_grid');
?>
</ul>
</div>
<div class="clear"></div>
<div>
<?php echo $list_view_deal->getPagination(); ?>
</div>